package cn.edu.nuc.creditSystem.utils;

/**
 * 模拟银行接口
 * @author xww
 *
 */
public interface AnalogInterface {
	/**
	 * 转账
	 * @param from
	 * @param to
	 * @param money
	 * @param i 1.获利资金  2.外放资金 3.借款资金
	 * @return
	 */
	Boolean transferAccount(Integer from,Integer to,Double money,String reason, int i);
	/**
	 * 充值
	 * @param from
	 * @param to
	 * @param i
	 * @param string 
	 * @return
	 */
	Boolean recharge(Integer to,Double i, String reason);
	/**
	 * 提现
	 * @param from
	 * @param to
	 * @param money
	 * @return
	 */
	Boolean withdrawals(Integer from,Double money);
}
